﻿/*
 *  Source code courtesy of the desktopWeb.CodePlex.com community project. See MS-PL license on Codeplex.com. 
 *  This is beta code not intended for a production application.
 */

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace MyData.Common
{
  public partial class ConfigurationPropertyGrid : Form
  {
    public ConfigurationPropertyGrid()
    {
      InitializeComponent();
    }

    private void ConfigurationPropertyGrid_Load(object sender, EventArgs e)
    {
      configPropertyGrid.SelectedObject = new WorkflowConfiguration();
    }

    private void closeButton_Click(object sender, EventArgs e)
    {
      //Sample does not implement all configuration properties
      this.Close();
    }
  }
}
